import Layout from '@/layouts'
const school = [
  {
    path: '/school',
    component: Layout,
    children: [
      {
        path: '/',
        name: 'school',
        component: () => import('@/views/school/list'),
        meta: { title: '机构列表', needLogin: false }
      },
      {
        path: 'home/:id',
        name: 'schoolpage',
        component: () => import('@/views/school/home'),
        meta: { title: '机构主页', needLogin: false }
      },
      {
        path: 'auth',
        component: () => import('@/views/school/auth'),
        meta: { title: '机构认证', needLogin: false }
      }
    ]
  }
]

export default school
